package gov.pbc.nn.kjgl.gzjh.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

import gov.pbc.nn.core.entity.BaseEntity;

@Entity
@Table(name = "T_WORK_PLAN_PROCESS_USER")
public class WorkPlanProcessUser extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "分办人ID")
	@Column(name = "BANCH_ID_", length = 400)
	private String banchId;
	
	@PropertyDef(label = "工作计划ID")
	@Column(name = "WORK_ID_", length = 400)
	private String workId;

	@PropertyDef(label = "处理人ID")
	@Column(name = "PROCESS_USERNAME_", length = 60)
	private String processUsername;

	@PropertyDef(label = "处理人名称")
	@Column(name = "PROCESS_CNAME_", length = 100)
	private String processCname;

	//---------------------------------0是初始状态，1是已经完成
	@Column(name = "STATE_")
	@PropertyDef(label = "状态", description = "状态:状态")
	private int state;
	
	@Column(name = "END_TIME_")
	@PropertyDef(label = "实际完成时间", description = "实际完成时间:实际完成时间")
	private Date endTime;
	
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getBanchId() {
		return banchId;
	}

	public void setBanchId(String banchId) {
		this.banchId = banchId;
	}

	public String getProcessUsername() {
		return processUsername;
	}

	public void setProcessUsername(String processUsername) {
		this.processUsername = processUsername;
	}

	public String getProcessCname() {
		return processCname;
	}

	public void setProcessCname(String processCname) {
		this.processCname = processCname;
	}

	public String getWorkId() {
		return workId;
	}

	public void setWorkId(String workId) {
		this.workId = workId;
	}

}
